package com.eCommerce.server.corebackend.sisv;

import java.util.List;
import java.util.Set;

import com.eCommerce.corecontract.criteria.ComposantCriteria;
import com.eCommerce.corecontract.dto.CategorieDTO;
import com.eCommerce.corecontract.dto.ComposantDTO;
import com.eCommerce.corecontract.exception.EcommerceException;

public interface IComposantSISV extends ISimpleService {
	Long ajouterComposant(ComposantDTO composantDTO)
			throws EcommerceException;

	List listerComposant() throws EcommerceException;

	void modifierComposant(ComposantDTO composantDTO)
			throws EcommerceException;

	List rechercherComposant(ComposantCriteria composantCriteria)
			throws EcommerceException;

	void supprimerComposant(ComposantDTO composantDTO)
			throws EcommerceException;

	boolean validerComposant(ComposantDTO composantDTO)
			throws EcommerceException;

	ComposantDTO visualiserComposant(ComposantDTO composantDTO)
			throws EcommerceException;
	
	List rechercherComposantParCategorie(CategorieDTO categorieDTO)
	throws EcommerceException;

}
